package cn.uniqueinfo.dp.mapper;

import cn.uniqueinfo.dp.vo.PermissionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2019-01-23 14:48:18
 * @description:业务单据权限点
 */
@Mapper
@Component
public interface PermissionMapper extends BaseMapper<PermissionVO> {
    List<PermissionVO> findByFormName(@Param(value = "form_name") String formName);

    List<PermissionVO> findeByRole(@Param(value = "rid") Long rid, @Param(value = "form_name") String formName);
}
